from distutils.core import setup
from distutils.cmd import Command

class install(Command):
    user_options = []
    
    def initialize_options(self):
        pass
    
    def finalize_options(self):
        pass
    
    def run(self):
        print("There is nothing to install in this package")

class makereport(Command):
    user_options = []
    
    def initialize_options(self):
        pass
    
    def finalize_options(self):
        pass
    
    def run(self):
        import makereport

class test(Command):
    user_options = []
    
    def initialize_options(self):
        pass
    
    def finalize_options(self):
        pass
    
    def run(self):
        import runtests

version = '0.1'

setup(name='incompatibility',
      version=version,
      description="Demonstrations of incompatibilities between Python 2.5, 2.6 and 3.0",
      long_description="""\
This module attempts to document incomaptibilities between 
Python 2.5, 2.6 and 3.0, and give examples on how to avoid them.
""",
      classifiers=['Development Status :: 4 - Beta',
                   'Environment :: Console',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: GNU General Public License (GPL)',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Documentation',
                   ], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='',
      author='Lennart Regebro',
      author_email='regebro@gmail.com',
      url='http://code.google.com/p/python-incompatibility',
      license='GPL v3',
      packages=['tests'],
      cmdclass={'install': install,
                'makereport': makereport,
                'test': test,
                }
      )
